﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CuaHangLego.UI
{
    public partial class Home : UserControl
    {
        FormMain parent;
        public Home(FormMain f)
        {
            InitializeComponent();
            this.parent = f;
        }

        private void Home_Load(object sender, EventArgs e)
        {
        }

        private void btSP_Click(object sender, EventArgs e)
        {
            parent.LoadSanPhamUI();
        }

        private void btNCC_Click(object sender, EventArgs e)
        {
            parent.LoadNCCUI();
        }

        private void btKH_Click(object sender, EventArgs e)
        {
            parent.LoadKhachHangUI();
        }

        private void btHD_Click(object sender, EventArgs e)
        {
            parent.LoadHoaDonUI();
        }

        private void btKho_Click(object sender, EventArgs e)
        {
            parent.LoadKhoUI();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            parent.LoadDoanhSoUI();
        }
    }
}
